package com.app.controller;


import com.app.model.CustomerModel;
import com.app.model.JobAdditionalModel;
import com.app.model.UserModel;
import com.app.service.CustomerService;
import com.app.service.JobAdditionalService;
import com.app.service.UserService;
import com.app.service.YouthInternshipService;
import com.app.util.Result;
import com.app.util.TokenUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

@Controller
@RestController
public class YouthInternshipController {

    @Autowired
    private YouthInternshipService youthInternshipService;

    @GetMapping("getYouthInternshipList")
    public Result<Object> followAdd(
            HttpServletRequest request) {
        return Result.success(youthInternshipService.getModelList());
    }

}
